package cloud.estate.device.service;

import cloud.estate.commons.bean.Device;
import cloud.estate.commons.util.JsonResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

@Service
public interface DeviceService extends IService<Device> {
    JsonResult addOneDevice(Device device);

    JsonResult deleteOneDevice(String id);

    JsonResult updateOneDevice(Device device);

    JsonResult getOneDevice(String id);

    JsonResult listAllDevice();
}
